package com.ist412.pocke;

import java.io.Serializable;

public class Set implements Serializable {
	
	private static final long serialVersionUID = 0L;
	private int 	_rep, _weight, _time; // time in miliseconds
	private boolean	_exhaust;
	private String	_note;
	
	public Set(int rep) {
		_rep 		= rep;
		_weight 	= 0;
		_time		= 0;
		_note		= "";
	}
	
	public Set(int rep, int weight) {
		_rep 		= rep;
		_weight 	= weight;
		_time		= 0;
		_note		= "";
	}
	
	public final boolean getExhaust() {
		return _exhaust;
	}
	
	public final String getNote() {
		return _note;
	}
	
	public final int getRep() {
		return _rep;
	}
	
	/**
	 * @return time in miliseconds
	 */
	public final int getTime() {
		return _time;
	}
	
	public final int getWeight() {
		return _weight;
	}
	
	public final void setExhaust(boolean exhaust) {
		_exhaust = exhaust;
	}
	
	public final void setNote(String note) {
		_note = note;
	}
	
	public final void setRep(int rep) {
		_rep = rep;
	}
	
	/**
	 * @param time Time in miliseconds
	 */
	public final void setTime(int time) {
		_time = time;
	}
	
	public final void setWeight(int weight) {
		_weight = weight;
	}
	
} // end class Set